package com.mdd.front.service.zdjd;

import com.mdd.common.core.PageResult;
import com.mdd.common.entity.zdjd.TZdjdRechargeRecord;
import com.mdd.front.validate.common.PageValidate;
import com.mdd.front.validate.zdjd.TZdjdRechargeRecordCreateValidate;
import com.mdd.front.validate.zdjd.TZdjdRechargeRecordSearchValidate;
import com.mdd.front.validate.zdjd.TZdjdRechargeRecordUpdateValidate;
import com.mdd.front.vo.zdjd.TZdjdRechargeRecordDetailVo;
import com.mdd.front.vo.zdjd.TZdjdRechargeRecordListedVo;

import java.util.List;

/**
 * 设备充值记录服务接口类
 * @author LikeAdmin
 */
public interface ITZdjdRechargeRecordService {

    /**
     * 设备充值记录列表
     *
     * @author LikeAdmin
     * @param pageValidate 分页参数
     * @param searchValidate 搜索参数
     * @return PageResult<TZdjdRechargeRecordListedVo>
     */
    PageResult<TZdjdRechargeRecordListedVo> list(PageValidate pageValidate, TZdjdRechargeRecordSearchValidate searchValidate);

    /**
     * 设备充值记录详情
     *
     * @author LikeAdmin
     * @param id 主键ID
     * @return TZdjdRechargeRecordDetailVo
     */
    TZdjdRechargeRecordDetailVo detail(Integer id);

    /**
     * 设备充值记录新增
     *
     * @author LikeAdmin
     * @param createValidate 参数
     */
    void add(TZdjdRechargeRecordCreateValidate createValidate);

    /**
     * 设备充值记录编辑
     *
     * @author LikeAdmin
     * @param updateValidate 参数
     */
    void edit(TZdjdRechargeRecordUpdateValidate updateValidate);

    /**
     * 设备充值记录删除
     *
     * @author LikeAdmin
     * @param id 主键ID
     */
    void del(Integer id);

    List<TZdjdRechargeRecord> selectListByYearMonthDay(int year, int month, int day);
}
